<template>
  <div>
    <div class="classify_top">
      <input class="classify_input" type="text" placeholder="回车搜索商品" />
    </div>
    <div class="List_flex">
      <div class="One_list" :index="index">
        <OneList />
      </div>
      <div class="Two_list">
        <TwoList />
      </div>
    </div>
  </div>
</template>

<script>
import OneList from "../components/Right_List";
import TwoList from "../components/Left_List";
export default {
  data() {
    return {
        index:0
    };
  },
  components: {
    OneList,
    TwoList,
  },
  mounted() {
    this.$store.dispatch("CLASSIFY");
  },
};
</script>

<style scoped>
.classify_top {
  width: 90%;
  margin: 10px auto;
}
.classify_input {
  width: 100%;
  border-radius: 20px;
  height: 4vh;
  border: 1px solid rgba(0, 0, 0, 0.164);
  text-align: center;
}
.List_flex {
  display: flex;
  justify-content: left;
}
.One_list {
  width: 15vh;
}
.Two_list {
  width: 60vh;
}
</style>